﻿using StudyCompanion.Commons.Result;

namespace StudyCompanion.IServices;

public interface ISysService
{
    /// <summary>
    ///     Id发送验证码
    /// </summary>
    /// <param name="uId"></param>
    /// <returns></returns>
    CommonResult IdSms(long uId);

    /// <summary>
    ///     图形验证码
    /// </summary>
    /// <param name="code"></param>
    /// <param name="width"></param>
    /// <param name="height"></param>
    /// <returns></returns>
    byte[] GetVerifyCode(string code, int width, int height);
}